package com.sh4.entity;


import java.util.Date;

// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * Ifiles entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ifiles")

public class Ifiles implements java.io.Serializable {

	// Fields

	private String id;
	/***
	 * 关联id
	 */
	private String linkId;
	/***
	 * 类型 区分是问津还是图片
	 */
	private String type;
	
	/***
	 * 文件网络访问url
	 */
	private String httpUrl;
	/***
	 * 文件本地访问url
	 */
	private String localUrl;
	/***
	 * 删除标识
	 */
	private String deleteFlag;
	private Date cretedDate;
	private String createdBy;
	private String remarks;
	private Date updateDate;
	private String updateBy;

	// Constructors

	/** default constructor */
	public Ifiles() {
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")

	@Column(name = "ID_", unique = true, nullable = false, length = 64)

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "LINK_ID_")

	public String getLinkId() {
		return this.linkId;
	}

	public void setLinkId(String linkId) {
		this.linkId = linkId;
	}

	@Column(name = "TYPE_", length = 10)

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "HTTP_URL_")

	public String getHttpUrl() {
		return this.httpUrl;
	}

	public void setHttpUrl(String thhpUrl) {
		this.httpUrl = thhpUrl;
	}

	@Column(name = "LOCAL_URL_")

	public String getLocalUrl() {
		return this.localUrl;
	}

	public void setLocalUrl(String localUrl) {
		this.localUrl = localUrl;
	}

	@Column(name = "DELETE_FLAG_", length = 10)

	public String getDeleteFlag() {
		return this.deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	@Column(name = "CRETED_DATE_", length = 19)

	public Date getCretedDate() {
		return this.cretedDate;
	}

	public void setCretedDate(Date cretedDate) {
		this.cretedDate = cretedDate;
	}

	@Column(name = "CREATED_BY_", length = 64)

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	@Column(name = "REMARKS_")

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Column(name = "UPDATE_DATE_", length = 19)

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Column(name = "UPDATE_BY_", length = 64)

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}